/**
 * Copyright (C) 2011 KingCore Science & Technology CO,.LTD. All rights reserved.
 * XNS PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

/**
 * Copyright (C) 2002-2011 WUZEWEN. All rights reserved.
 * WUZEWEN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 * This software is the confidential and proprietary information of
 * WuZeven, Personal. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with WuZeven.
 */

package com.kingcore.director.resourcemaster.dao;

import java.sql.SQLException;
import java.util.List;

import com.kingcore.director.base.dao.DirectorDaoJdbc;
import com.kingcore.director.core.bean.TreeNodeBean;

/**
 * <p>java class file describe</p>
 * @author Zeven on 2011-3-8
 * @version	1.0
 * @see		Object#equals(java.lang.Object)
 * @since	JDK5
 */

public interface FavoriteFilesDao extends DirectorDaoJdbc{

	public void deleteByLocations(List<String> locationsList) throws SQLException;

	public void insertTreeNode(TreeNodeBean treeNodeBean) throws SQLException;
	public void updateTreeNode(TreeNodeBean treeNodeBean) throws SQLException;

	public void deleteTreeNode(TreeNodeBean treeNodeBean) throws SQLException;

	public void updateOrderById(TreeNodeBean treeNodeBean, int orderIdBefore) throws SQLException;

	public void setFiles2Class(List<String> fileUriList, int classId) throws SQLException;
}
